package com.hotel.mapper;

import com.hotel.pojo.Employee;
import com.hotel.pojo.User;

import java.util.List;

public interface EmployeeMapper {
    //通过员工名查找数据
    Employee selectEmployeeByName(String name);

    //查询员工表
    List<Employee> selectAllEmployee(Integer employeeId);

    //删除员工
    Boolean deleteEmployee(Integer employeeId);

    //添加员工
    Boolean insertEmployee(Employee employee);

    //修改员工信息
    Boolean updateEmployee(Employee employee);
}
